Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add STM32F3DISCOVERY example #73

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

mlout
Copy link

@mlout mlout commented Sep 10, 2024

  • Update CANopenNode to the latest available version. I have checked that all existing example projects still compile. I do not have the hardware to test them all unfortunately.
  • Add example project for STM32F3DISCOVERY which uses CAN and FreeRTOS
  • Add a different locking implementation which can be used with FreeRTOS. This can be enabled using the USE_FREERTOS_LOCKING preprocessor symbol. This is enabled in the example project mentioned above.
  • Add a flash storage example for writing Object Dictionary values to the flash memory. This is only tested on STM32F3xx MCUs! This can be enabled using the USE_CO_STORAGE_FLASH preprocessor symbol. This is enabled in the example project mentioned above.
  • Fix some printf format specifier warnings in CO_app_STM32.c

- Code can be enabled by enabling the USE_FREERTOS_LOCKING preprocessor
  symbol in the build config.
- To enable add the USE_CO_STORAGE_FLASH preprocessor symbol to your
  build config.
- The example was developed and tested only on STM32F3XX
  microcontrollers, not guaranteed to work on other series!
- Add example project for STM32F3DISCOVERY board
- This project uses FreeRTOS and serves as an example which uses
  FreeRTOS locking. It also serves as an example for the
CO_storageFlash module to write OD values to the flash memory.
@mlout mlout force-pushed the feature/add-stm32f3xx_can_rtos-example branch from 3630a01 to f1d8792 Compare September 10, 2024 12:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant